<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>${ articleExt.title } - ${ articleExt.type.name } - WSLDS.COM</title>
<meta name="keywords" content=" ${ articleExt.type.name }<c:forEach var="tag" items="${ articleExt.tagList }"  > ${ tag.name } </c:forEach> ${ articleExt.title }" />
<meta name="description" content="${ articleExt.content4Simple }" />
<%@include file="../inc/common.inc"%>
<%@include file="../inc/highlight.inc"%>
<script src="${ contextPath }/web/article${ min }.js" type="text/javascript"></script>
<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-27449917-1']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>
</head>

<body>
		<div id="container_father">
			<div id="container_left">
				&nbsp;
			</div>
			<div id="container">

				<div id="top">
				</div>
				<div id="navigation">
					<%@include file="common/headMenu.jsp"%>
				</div>


				<div id="content">
					<div class="content_block">
						<div class="content_title">
							日志
						</div>
						<div class="clear"></div>
						<div class="content_content">
							<div class="log_block">
								<%@include file="neighbour.jsp"%>
								<div class="clear"></div>
								<div class="log_date">
								</div>
								<div class="log_title">
									${ articleExt.title }
								</div>
								<div class="log_type">
									<label>
										文章分类：
									</label>
									<span><a href="${contextPath}/search/type/${ articleExt.type.id }" >${ articleExt.type.name }</a>
									</span>
									&nbsp;&nbsp;
									<label>
										标签：
									</label>
									<c:forEach var="tag" items="${ articleExt.tagList }"  >
										<span style="color:#2ddf2d;" >
											<a href="${contextPath}/search/tag/${ tag.tagId }" >${ tag.name }</a>
										</span>&nbsp;
									</c:forEach>
								</div>
								<div class="log_content">
									${ articleExt.content }
								</div>
								<div class="log_foot">
									<div>
									</div>
								</div>
								<div class="clear"></div>
								<%@include file="neighbour.jsp"%>
							</div>
						</div>

						<div class="clear"></div>
						<div class="content_blank"></div>
					</div>

					<div class="comment_block" id="comment">
						<a class="anchorLink" id="review_anchor" href="#myReviewAnchor"></a>
						<a id="firstReview" name="firstReview">&nbsp;</a>
						<div class="review_title" id="reviewClick">
							<a>评论<span>——想评论，点我</span>
							</a>
						</div>
						

						<div class="clear"></div>
						<div class="content_content" id="reviewContent"></div>
						<a id="myReviewAnchor" name="myReviewAnchor">&nbsp;</a>
						<div class="clear"></div>
						<div class="content_blank"></div>
						<div class="content_content" id="reviewDiv">
							<form action="${contextPath}/saveReview.action" method="post"
								id="reviewForm">
								<input type="hidden" value="${articleExt.id}"
									name="review.artId" id="article_id" />
								<input type="hidden" value="" name="url" id="url" />
								<div class="content_row">
									<div class="title" id="question" style="color: red" >
									</div>
									<div class="data">
										<input id="answer" type="text" class="inputNormal" tipsLoc="right"
											title="解答左边的简单的问题就可以评论咯" needFocus="needFocus"
											 value="" maxlength="27" />
										&nbsp;
									</div>
								</div>
								<div class="content_row">
									<div class="title">
										尊姓大名
									</div>
									<div class="data">
										<input type="text" class="inputNormal" tipsLoc="right" 
											title="给力就填一点" needFocus="needFocus" name="review.name"
											value="${ accessName }" maxlength="10" />
										&nbsp;
									</div>
									<div></div>
								</div>
								<div class="content_row">
									<div class="title">
										邮来邮去
									</div>
									<div class="data">
										<input type="text" class="inputNormal" tipsLoc="right"
											title="我会替你保密" needFocus="needFocus" name="review.email"
											value="" maxlength="37" />
										&nbsp;
									</div>
									<div></div>
								</div>
								<div class="content_row">
									<div class="title">
										网络住址
									</div>
									<div class="data">
										<input type="text" class="inputNormal" tipsLoc="right"
											title="格式如: www.wslds.com,无需http://" needFocus="needFocus"
											name="review.webSite" value="" maxlength="37" />
										&nbsp;
									</div>
									<div></div>
								</div>
								<div class="content_textarea">
									<div class="title">
										主要内容
									</div>
									<div class="data">
										<textarea class="inputNormal" tipsLoc="top" id="main_content" style="height: 98px;" 
											title="内容最多只能15行" cols="30" rows="4"  
											name="review.content" needFocus="needFocus"></textarea>
									</div>
									<div class="smile">
										<div class=" smileCommon smile1" smile="1" ></div>
										<div class=" smileCommon smile2" smile="2" ></div>
										<div class=" smileCommon smile3" smile="3" ></div>
										<div class=" smileCommon smile4" smile="4" ></div>
										<div class=" smileCommon smile5" smile="5" ></div>
										<div class=" smileCommon smile6" smile="6" ></div>
										<div class=" smileCommon smile7" smile="7" ></div>
										<div class=" smileCommon smile8" smile="8" ></div>
										<div class=" smileCommon smile9" smile="9" ></div>
										<div class=" smileCommon smile10" smile="10" ></div>
										<div class=" smileCommon smile11" smile="11" ></div>
										<div class=" smileCommon smile12" smile="12" ></div>
										<div class=" smileCommon smile13" smile="13" ></div>
										<div class=" smileCommon smile14" smile="14" ></div>
										<div class=" smileCommon smile15" smile="15" ></div>
										<div class=" smileCommon smile16" smile="16" ></div>
										<div class=" smileCommon smile17" smile="17" ></div>
										<div class=" smileCommon smile18" smile="18" ></div>
										<div class=" smileCommon smile19" smile="19" ></div>
										<div class=" smileCommon smile20" smile="20" ></div>
									</div>
								</div>
								
								<div>
									<input type="button" value="提交" id="choose" />
									<span></span>
								</div>
							</form>
						</div>
						
						
					</div>

				</div>
				<div id="sidebar">
					<jsp:include page="/sidebar.action"></jsp:include>
				</div>
				
				<div class="clear"></div>
				<div id="footer">
					<%@include file="common/foot.jsp"%>
					<a class="anchorLink" id="first_review_anchor" href="#firstReview"></a>
				</div>

			</div>

			<div id="container_right">
				&nbsp;
			</div>
		</div>
	</body>
</html>

